package hongcaosp.app.android.modle.mi;

import hongcaosp.app.android.modle.DataCallBack;
import hongcaosp.app.android.modle.bean.Pagebean;
import hongcaosp.app.android.modle.bean.RecommendList;
import hongcaosp.app.android.modle.bean.SignBean;
import hongcaosp.app.android.modle.bean.Video;

public interface VideoModle {
    /**
     * 视频推荐
     * URL(post): api/recommendVideo
     * @param token
     * @param dataCallBack
     */
    void recommendVideo(String token, DataCallBack<RecommendList> dataCallBack);

    /**
     * 验签视频
     * URL(post): api/videos/videoSign
     * @param token
     * @param dataCallBack
     */
    void videoSign(String token, DataCallBack<SignBean> dataCallBack);

    /**
     * 上传视频 URL(post): api/videos/releaseVideos
     * @param token
     * @param content
     * @param videoPath
     * @param videoSeconds
     * @param videoWidth
     * @param videoHeight
     * @param coverPath
     * @param callBack
     */
    void releaseVideos(String token,String content,String videoPath,float videoSeconds,int videoWidth,int videoHeight,String coverPath,DataCallBack callBack);

    /**
     * 转发视频
     * URL(post): api/videos/videosForward
     * @param token
     * @param content
     * @param id
     * @param callBack
     */
    void videoForward(String token,String content,int id,DataCallBack callBack);

    void playCount(int id);

}
